from info.modus.index.lu import index_blue
import logging
from flask import current_app
from info.csh import redis_store
@index_blue.route("/",methods=["GET","POST"])
def hello_word():
    redis_store.set("name","laowang",10)
    print(redis_store.get("name"))
    logging.debug("调试信息")
    logging.info("输入详细信息")
    logging.error("输入错误信息")
    logging.warning("输入警告星系")
    current_app.logger.debug("调试信息")
    current_app.logger.info("输入详细信息")
    current_app.logger.error("输入错误信息")
    current_app.logger.warning("输入警告星系")


    return "真好看"